#!/usr/local/python/bin/python
# coding=utf-8
__author__ = 'Junjie.M'


class DbInfo():
    _data = []

    def setData(self, data):
        global _data
        _data = data

    def getDbCode(self):
        return _data['dbCode']

    def getDbName(self):
        return _data['dbName']

    def getVbCode(self):
        return _data['vbCode']

    def getVbName(self):
        return _data['vbName']

    def getSqlHost(self):
        return _data['sqlHost']

    def getSqlPort(self):
        return _data['sqlPort']

    def getSqlUser(self):
        return _data['sqlUser']

    def getSqlPwd(self):
        return _data['sqlPwd']